package com.example.mpdemo01.service.impl;

import com.example.mpdemo01.model.User;
import com.example.mpdemo01.mapper.UserMapper;
import com.example.mpdemo01.service.UserService;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
 * <p>
 *  服务实现类
 * </p>
 *
 * @author cqmaple
 * @since 2021-11-01
 */
@Service
public class UserServiceImpl extends ServiceImpl<UserMapper, User> implements UserService {
   @Autowired
    private UserMapper userMapper;
    @Override
    public boolean addUsers(User user) {
        return userMapper.addUsers(user);
    }

}
